Skip to content

close receiver on argument validation failure#8

Merged
michaelficarra merged 3 commits intotc39:mainfrom
bakkot:close-on-validation-failure
Mar 12, 2026
Merged

close receiver on argument validation failure#8
michaelficarra merged 3 commits intotc39:mainfrom
bakkot:close-on-validation-failure

Conversation

@bakkot
Copy link
Copy Markdown
Member

@bakkot bakkot commented Mar 12, 2026

Fixes #7.

Didn't update the implementation, sorry.

Copy link
Copy Markdown
Member

@gibson042 gibson042 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@michaelficarra michaelficarra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Since this is clearly uncontroversial, I will merge now and just include a mention in my next presentation to committee.

@bakkot
Copy link
Copy Markdown
Member Author

bakkot commented Mar 12, 2026

Oh I was gonna ask for approval at the ongoing meeting. Only takes a minute.

@michaelficarra
Copy link
Copy Markdown
Member

@bakkot Sure, if you can get the chairs to give you the time.

@michaelficarra michaelficarra merged commit 8787f1a into tc39:main Mar 12, 2026
2 checks passed
ljharb added a commit to es-shims/iterator-helpers that referenced this pull request Mar 12, 2026
@bakkot bakkot deleted the close-on-validation-failure branch March 12, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lack of iterator closing on early errors

4 participants